Total Complexity | 28 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 175 |
Lines of code | 69 |
Logical lines of code | 35 |
Comment lines | 82 |
Methods | 10 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
resolveProductFromProductVariation() | 63 | 6 | 10 | |
resolveProductPostId() | 67 | 4 | 8 | |
productStockChange() | 66 | 4 | 9 | |
__construct() | 63 | 3 | 10 | |
shouldPurgeCacheOnStockCommonCondition() | 66 | 3 | 9 | |
productVariationStockChange() | 74 | 2 | 5 | |
shouldPurgeCacheOnStockAmountChange() | 71 | 2 | 6 | |
shouldPurgeCacheOnStockStatusChange() | 71 | 2 | 6 | |
productStockStatusChange() | 81 | 1 | 3 | |
productVariationStockStatusChange() | 81 | 1 | 3 |